<Window x:Class="LaunchMeNot.WinAbout"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:lex="http://schemas.root-project.org/xaml/presentation"
    Title="{lex:LocText LaunchMeNot.Core:Strings:About}" Height="410" Width="300"
    WindowStyle="ToolWindow" WindowStartupLocation="CenterOwner" 
    SizeToContent="WidthAndHeight" ResizeMode="NoResize" 
    Loaded="Window_Loaded"
    Style="{StaticResource {x:Type Window}}" Icon="pack://application:,,,/Resources/icon.ico">
    <Window.Resources>
        <Style TargetType="{x:Type TextBlock}">
            <Setter Property="HorizontalAlignment" Value="Center" />
            <Setter Property="Margin" Value="0,1" />
        </Style>
        <Style x:Key="NoUnderline" TargetType="{x:Type Hyperlink}">
            <Setter Property="TextDecorations" Value="{x:Null}" />
        </Style>
    </Window.Resources>
    <StackPanel Margin="4" HorizontalAlignment="Center">
        <TextBlock>
            <Hyperlink NavigateUri="http://launchmenot.lime49.com/" Style="{StaticResource NoUnderline}" RequestNavigate="OpenURL">
                <Image x:Name="imgLogo" Source="pack://application:,,/Resources/Images/icon_160x127.png" Width="160" Height="127" />
            </Hyperlink>
        </TextBlock>
        <TextBlock x:Name="lblVersion" FontSize="14" FontWeight="Bold" />
        <TextBlock x:Name="lblDate" FontSize="8" Margin="0" />
        <TextBlock>
            <Hyperlink NavigateUri="http://launchmenot.lime49.com/" RequestNavigate="OpenURL">http://launchmenot.lime49.com/</Hyperlink>
        </TextBlock>
        <TextBlock x:Name="txtCopyright" Width="100" TextWrapping="Wrap" TextAlignment="Center" MouseDown="hjennerway_MouseDown"/>
        <TextBlock><Hyperlink NavigateUri="http://www.chickenping.com/donate" ToolTip="Every time you ignore a donation link, God kills a kitten" Style="{StaticResource NoUnderline}" RequestNavigate="OpenURL">
            <Image Source="pack://application:,,/Resources/images/donate.gif" Width="62" Height="31"/>
        </Hyperlink></TextBlock>
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="48" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <Image Grid.Row="0" Grid.Column="0" Grid.RowSpan="2" Source="pack://application:,,/Resources/Images/lime.png" ToolTip="Lime49 Software" />
            <TextBlock HorizontalAlignment="Left" VerticalAlignment="Bottom" Grid.Row="0" Grid.Column="1">Lime49 Software</TextBlock>
            <TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Row="1" Grid.Column="1">
                <Hyperlink NavigateUri="http://www.lime49.com/" RequestNavigate="OpenURL">http://www.lime49.com/</Hyperlink>
            </TextBlock>
        </Grid>
        <Button IsCancel="True" MinWidth="70" Width="70" IsDefault="True" Content="{lex:LocText LaunchMeNot.Core:Strings:Close}"/>
    </StackPanel>
</Window>
